<%@ page import="org.apache.commons.lang.StringUtils"%>
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page language="java" import="java.util.*" %>
<%@ page language="java" import="com.tangdi.production.mpapp.utils.WebPayServletUtil"
	%>
<%@ page language="java" import="com.tangdi.production.mpapp.constants.*"
	%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	request.setAttribute("on_back", "1");
	
	String USRMP = (String)request.getSession().getAttribute(Key.COOKIE_KEY_USRMP);
	//没有校验通过就直接进来了，返回上一页(通过校验以后会将值存入session以及cookie)
	if(StringUtils.isEmpty(USRMP)){
		WebPayServletUtil payUtil = new WebPayServletUtil();
		payUtil.toLoginPage(request, response);
	}
	request.setAttribute("title", "商户注册");
%>
<!DOCTYPE html>
<html lang="zh">
<base href="<%=basePath%>">
<head>
<title>忘记密码</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta charset="utf-8" />
<meta name="description" content="Common form elements and layouts" />
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

<script type="text/javascript" src="js/jquery-1.7.1.min.js"
	charset="UTF-8"></script>

<script type="text/javascript" src="js/core-1.0.js" charset="UTF-8"></script>
<script type="text/javascript" src="js/webpay/base.js" charset="UTF-8"></script>
<script type="text/javascript" src="js/webpay/user_forget.js"
	charset="UTF-8"></script>
<!-- bootstrap & fontawesome -->
<link rel="stylesheet" href="ace_v1.3/assets/css/bootstrap.css" />

<link rel="stylesheet" href="ace_v1.3/assets/css/chosen.css" />
<link rel="stylesheet" href="ace_v1.3/assets/css/font-awesome.css" />

<!-- text fonts -->
<link rel="stylesheet" href="ace_v1.3/assets/css/ace-fonts.css" />

<!-- ace styles -->
<link rel="stylesheet" href="ace_v1.3/assets/css/ace.css"
	class="ace-main-stylesheet" id="main-ace-style" />

<!--[if lte IE 9]>
			<link rel="stylesheet" href="ace_v1.3/assets/css/ace-part2.css" class="ace-main-stylesheet" />
		<![endif]-->

<!--[if lte IE 9]>
		  <link rel="stylesheet" href="ace_v1.3/assets/css/ace-ie.css" />
		<![endif]-->



<!-- HTML5shiv and Respond.js for IE8 to support HTML5 elements and media queries -->

<!--[if lte IE 8]>
		<script src="ace_v1.3/assets/js/html5shiv.js"></script>
		<script src="ace_v1.3/assets/js/respond.js"></script>
		<![endif]-->
<jsp:include page="../plug/head-include.jsp" />
<style type="text/css">
</style>
<script type="text/javascript">
	
</script>
</head>
<body class="no-skin">
	<!-- #section:basics/navbar.layout -->
	<jsp:include page="../plug/title.jsp" />

	<!-- /section:basics/navbar.layout -->
	<div class="main-container" id="main-container">

		<!-- #section:basics/sidebar -->
		<!-- /section:basics/sidebar -->
		<div class="main-content">
			<div class="main-content-inner">
				<!-- #section:basics/content.breadcrumbs -->
				<!-- /section:basics/content.breadcrumbs -->
				<div class="page-content">
					<!-- #section:settings.box -->
					<!-- <div class="page-header">
						<h1>
							Form Elements <small> <i
								class="ace-icon fa fa-angle-double-right"></i> Common form
								elements and layouts
							</small>
						</h1>
					</div>
					 -->
					<div class="row">
						<div class="col-xs-12">
							<!-- PAGE CONTENT BEGINS -->
							<form class="form-horizontal" method="post" action="800006.web"
								role="form"
								onsubmit="return regSubmit(this)">
								<input type="hidden" name="USRMP" value="<%=USRMP %>"/>
								<input type="hidden" name="IDTYPECOD" value="0"/>
								<!--  <div class="form-group">
									<div class="col-sm-8 col-xs-12 col-sm-offset-2">
										<input type="text" name="USERNAME" validate="true"
											placeholder="真实姓名" class="form-control" />
									</div>
								</div>

								<div class="form-group">
									<div class="col-sm-8 col-xs-12 col-sm-offset-2">
										<input type="text" name="USERNO" validate="true"
											placeholder="身份证号码" class="form-control" />
									</div>
								</div>
								
								<div class="form-group">
									<div class="col-sm-8 col-xs-12 col-sm-offset-2">
										<input type="text" name="BANKCARDNO" validate="true"
											placeholder="请输入本人收款借记卡号" class="form-control" />
									</div>
								</div>
								-->
								<div class="form-group">
									<div class="col-sm-8 col-xs-12 col-sm-offset-2">
										<input type="password" name="NUSRPWD" validate="true"
											placeholder="请设置登录密码" class="form-control" />
									</div>
								</div>
								
								<div class="form-group">
									<div class="col-sm-8 col-xs-12 col-sm-offset-2">
										<input type="password" name="NUSRPWD_AGN" validate="true"
											placeholder="请确认登录密码" class="form-control" />
									</div>
								</div>
								
							<!-- <div class="form-group">
									<div class="checkbox agreement col-sm-8 col-xs-12 col-sm-offset-2" style="padding-left: 0px;padding-right: 0px;">
										<label>
											<input name="iDo" type="checkbox" checked="checked" value="1"  class="ace" />
											<span class="lbl"> 我已阅读并同意<a href="javascript:void(0)" onclick="readAgreement()">《口袋支付服务协议》</a></span>
										</label>
									</div>
									 -->	
								</div>
								
								<div
									class="clearfix menu-btn-box col-sm-8 col-xs-12 col-sm-offset-2">
									<button class="btn btn-info btn-lg btn-block" type="submit"
										onclick="">
										<i class="ace-icon fa fa-check "></i> 确 认
									</button>
								</div>
							</form>
							<!-- /.col -->
						</div>
						<!-- /.row -->
					</div>

					<!-- /.page-header -->
				</div>
				<!-- /.page-content -->
			</div>
		</div>
		<!-- /.main-content -->

		<!-- /.main-container -->
	</div>
	<script type="text/javascript" src="ace_v1.3/assets/js/jquery.maskedinput.js" charset="UTF-8"></script>
	<script type="text/javascript" src="js/jquery.tips.js" charset="UTF-8"></script>
	<!-- <script type="text/javascript" src="js/webpay/dial.js" charset="UTF-8"></script>
 -->
	<!-- basic scripts -->
</body>
</html>